package com.nlelpct.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_company")
public class SysCompany extends Model<SysCompany> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "company_id", type = IdType.ASSIGN_UUID)
    private String companyId;

    /**
     * 员工人数上限
     */
    private Long maxLimit;

    /**
     * 证书过期时间
     */
    private Long lisenceExpire;

    /**
     * 企业基础ID，外键关联
     */
    private String companyBasicId;

    /**
     * 0.禁用  1.正常
     */
    private Integer companyStatus;

    /**
     * 删除标志（0代表删除 1代表存在）
     */
    private Integer delFlag;

    /**
     * 企业在所在系统的名称
     */
    private String companySysName;

    /**
     * 企业所在系统logo,--> ossKey
     */
    private String companySysLogo;

    /**
     * 所属系统
     */
    private String systemId;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 修改时间
     */
    private Long updateTime;


    public static final String COMPANY_ID = "company_id";

    public static final String MAX_LIMIT = "max_limit";

    public static final String LISENCE_EXPIRE = "lisence_expire";

    public static final String COMPANY_BASIC_ID = "company_basic_id";

    public static final String COMPANY_STATUS = "company_status";

    public static final String DEL_FLAG = "del_flag";

    public static final String COMPANY_SYS_NAME = "company_sys_name";

    public static final String COMPANY_SYS_LOGO = "company_sys_logo";

    public static final String SYSTEM_ID = "system_id";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";


}
